package com.ssy.lingxi.common.constant;
/**
* 公共常量类
* @author wrc
* @date 2020/6/3
*/
public class CommonConstant {
    /**
     * 仓位库存数量rediskey
     */
    public final static String FREIGHT_SPACE_REDIS_KEY = "FREIGHT_SPACE:";

    /**
     * 仓位库存-所有会员共用
     */
    public final static String FREIGHT_All = "all";

    /**
     * 状态 1.启用 0.停用
     */
    public interface State {
        Integer STATE_START = 1;
        Integer STATE_STOP = 0;
    }

    /**
     *  1.资金归集模式 2.库存扣减策略 3.下单模式 4.订单类型 5.结算方式 6.品类与属性使用方式 7.采购寻源类型 8.采购合同付款方式
     */
    public interface Type {
        Integer STATE_STOP = 0;
        Integer STATE_START = 1;
        Integer ORDER_TYPE = 4;

    }
    /**
     * 状态 1.阿里云上传 2.fastdfs
     */
    public interface FileType {
        int OSS_UPLOAD = 1;
        int FASTDFS_UPLOAD = 2;
    }




    /**
     *  1.生成通知单 2.物流单 3.订单
     */
    public interface SettlementOrderType {
        int NOTICE = 1;
        int LOGISTICS = 2;
        int ORDER = 3;
    }

}
